var app =angular.module('app', ["firebase"]).
  config(function($routeProvider) {
      $routeProvider.
      when('/', {controller:RegistraUsuario, templateUrl:"pages/registrar.html"}).
      //when('/home', {controller:Home, templateUrl:'pages/home.html'}).
      when('/eventos', {controller:Eventos, templateUrl:'pages/listaEventos.html'}).
      when('/edit/:idEvento', {controller:EventoEditar, templateUrl:'pages/evento.html'}).
      when('/new', {controller:EventoCrear, templateUrl:'pages/evento.html'}).
      otherwise({redirectTo:'/'});
  });


